package cn.bdqn.dao;

import cn.bdqn.entity.AuthorityMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ProjectName: springbootSecurity
 * @Package: cn.cn.bdqn.security.dao
 * @Author: huat
 * @Date: 2019/12/17 11:31
 * @Version: 1.0
 */
@Mapper
public interface MenuDao {
    /**
     * 根据角色id查询所有路径
     * @param roleId 角色id
     * @return
     */
    List<AuthorityMenu> getMenuById(@Param("roleId") int roleId);
}
